//
//  HJTitleSubTitleView.m
//  KaiChat
//
//  Created by lx on 2024/3/20.
//

#import "HJTitleSubTitleView.h"

@implementation HJTitleSubTitleView

- (instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {

        _titleLabel = [UILabel lableWithSuperView:self font:UIFontSemiboldMake(16) color:UIColor.tj_333333Color title:nil textAlignment:NSTextAlignmentCenter];
        [_titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.offset(0);
            make.left.right.offset(0);
        }];
        
        _subTitleLabel = [UILabel lableWithSuperView:self font:UIFontMake(12) color:UIColor.tj_868391Color title:nil textAlignment:NSTextAlignmentCenter];
        [_subTitleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            make.bottom.offset(0);
            make.left.right.offset(0);
        }];
    }
    return self;
}


@end
